package com.stylefeng.guns.modular.system.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.common.persistence.model.Occupation;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lmshe
 * @create 2017-11-08 11:24
 * @desc
 */
public interface OccupationDao {
    /**
     * @author lmshe
     * @create 11:33 2017/11/8
     * @desc 查询职业列表
     */
    List<Map<String, Object>> getOccupationList(@Param("page") Page<Occupation> page, @Param("occupation") String occupation, @Param("orderByField") String orderByField, @Param("isAsc") boolean isAsc);

}
